// 入库单列表返回值
export interface StockInListData {
  results: [
      {
          objectId: string;
          name: string;            // 新增-入库单名称
          stockInNo: string;       // 入库单编号
          stockInDate: string;     // 入库日期
          purchaseOrderName: string;
          purchaseOrderNo: string;
          inspectionName: string;
          inspectionNo: string;
          materialName: string;
          materialNo: string;
          specification: string;
          unit: string;
          productionDate: string;
          expiryDate: string;
          batchNo: string;
          stockInQuantity: string;
          warehouseName: string;
          zoneName: string;
          locationName: string;
          warehouseManager: string;
          status: string;
          createdAt: string;
          updatedAt: string;
      }
  ];
}

// 新增入库单返回值
export interface StockInAddData {
  objectId: string;
  name: string;      // 新增-入库单名称
  stockInNo: string;
  createdAt: string;
}

// 入库单详情数据
export interface StockInDetailData {
  objectId: string;
  name: string;      // 新增-入库单名称
  stockInNo: string;
  stockInDate: string;
  purchaseOrderName: string;
  purchaseOrderNo: string;
  inspectionName: string;
  inspectionNo: string;
  materialName: string;
  materialNo: string;
  specification: string;
  unit: string;
  productionDate: string;
  expiryDate: string;
  batchNo: string;
  stockInQuantity: string;
  warehouseName: string;
  zoneName: string;
  locationName: string;
  warehouseManager: string;
  status: string;
  remark?: string;
  creator: string;
  createdAt: string;
  updatedAt: string;
}

// 入库单分页列表
export interface StockInPagedListData {
  results: StockInDetailData[];
  count: number;
  pages: number;
  current: number;
  size: number;
}